package cc.lishixi.book.entity;

/**
 * Created by LiShixi on 2016/7/24 0024.
 * http://www.lishixi.cc
 */
public class BookInfo {

    /*图书条码*/
    String barcode;
    /*国际标准书号*/
    String isbn;
    /* 是否可借（1：可借，0：不可借）*/
    int status;
    /* 应还书时间*/
    String duedate;
    /*馆藏地点*/
    String location;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDuedate() {
        return duedate;
    }

    public void setDuedate(String duedate) {
        this.duedate = duedate;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "BookInfo{" +
                "barcode='" + barcode + '\'' +
                ", isbn='" + isbn + '\'' +
                ", status=" + status +
                ", duedate='" + duedate + '\'' +
                ", location='" + location + '\'' +
                '}';
    }
}
